package org.jeecg.modules.flowable.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.flowable.entity.TestDemo;


public interface TestDemoService extends IService<TestDemo> {

    IPage<TestDemo> myPage(Page<TestDemo> page, QueryWrapper<TestDemo> queryWrapper);
    Result<Void> startProcessInstance(String dataId);
    Result<Void> stopProcessInstance(String dataId );

    Result<Void> handleTask(String dataId, String message, String type);
}
